<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

/*Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});*/#tomExclg2kunC39

Route::get('hello/:name', 'index/hello');
//登录 及 登录缓存
Route::group('think', function () {
	Route::post(':login', 'home/index/login');
	Route::post('/', 'home/index/index');
});

//文章
Route::group('word', function () {
	Route::get(':id', 'index/word/word_article');
	Route::post(':word_add', 'index/word/word_add');
	Route::delete(':id', 'index/word/word_del');
});

//评论
//文章
Route::group('Comment', function () {
	Route::post('', 'index/comment/comment_say');
	
});
#Route::post('/think','home/index/index');

return [

];
